package com.molan.molan_music.mapper;

import com.molan.molan_music.dto.RoleDto;
import com.molan.molan_music.entity.Role;
import com.molan.molan_music.vo.RoleVo;
import org.mapstruct.Mapper;
import org.springframework.stereotype.Component;

@Mapper(componentModel = "spring")
@Component
public interface RoleMapper {

    RoleDto toDto(Role role);

    RoleVo toVo(RoleDto roleDto);

    RoleVo toVo1(Role role);
}
